package com.ruoyi.system.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 竞标记录详细对象 tb_project_log_detail
 *
 * @author ruoyi
 * @date 2024-09-04
 */
public class ProjectLogDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 竞标记录id
     */
    @Excel(name = "竞标记录id")
    private Long logId;

    /**
     * 竞标项目id
     */
    @Excel(name = "竞标项目id")
    private Long projectId;

    /**
     * 分类id
     */
    @Excel(name = "分类id")
    private Long typeId;

    /**
     * 规格id
     */
    @Excel(name = "规格id")
    private Long specId;

    /**
     * 单位id
     */
    @Excel(name = "单位id")
    private Long brandId;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private BigDecimal num;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private BigDecimal price;

    /**
     * 计算表id
     */
    @Excel(name = "计算表id")
    private Long computeId;

    /**
     * 出价
     */
    @Excel(name = "出价")
    private BigDecimal money;

    /**
     * 产地
     */
    @Excel(name = "产地")
    private String producer;

    /**
     * 0正常 1删除
     */
    @Excel(name = "0正常 1删除")
    private Integer deleted;

    /**
     * 分类名称
     */
    @Excel(name = "分类名称")
    private String typeName;
    /**
     * 规格名称
     */
    @Excel(name = "规格名称")
    private String specName;
    /**
     * 单位名称
     */
    @Excel(name = "单位名称")
    private String brandName;

    /**
     * 限价
     */
    @Excel(name = "限价")
    private BigDecimal priceLimit;

    /**
     * 关联的竞标记录的修改次数
     */
    private Long xgcs;

    public Long getXgcs() {
        return xgcs;
    }

    public void setXgcs(Long xgcs) {
        this.xgcs = xgcs;
    }

    public BigDecimal getPriceLimit() {
        return priceLimit;
    }

    public void setPriceLimit(BigDecimal priceLimit) {
        this.priceLimit = priceLimit;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getProducer() {
        return producer;
    }

    public void setProducer(String producer) {
        this.producer = producer;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public Long getLogId() {
        return logId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setSpecId(Long specId) {
        this.specId = specId;
    }

    public Long getSpecId() {
        return specId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setNum(BigDecimal num) {
        this.num = num;
    }

    public BigDecimal getNum() {
        return num;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setComputeId(Long computeId) {
        this.computeId = computeId;
    }

    public Long getComputeId() {
        return computeId;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getDeleted() {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("logId", getLogId())
                .append("typeId", getTypeId())
                .append("specId", getSpecId())
                .append("brandId", getBrandId())
                .append("num", getNum())
                .append("price", getPrice())
                .append("computeId", getComputeId())
                .append("money", getMoney())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("deleted", getDeleted())
                .toString();
    }
}
